package com.talent.web.controller;

import com.talent.web.model.TalentResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;

/**
 * @ClassName：StatisticsController
 * @Author: hszhou
 * @Date: 2025/3/15 15:53
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@RestController
@RequestMapping("statistics")
public class StatisticsController {



    @GetMapping("list")
    public TalentResult<Object> getStatistics(){
        ArrayList<Integer> objects = new ArrayList<>();
        objects.add(100);
        objects.add(200);
        objects.add(300);
        objects.add(400);
        objects.add(500);
        return TalentResult.success(objects);
    }
}
